﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Unity;

namespace WpfTestDemo.Model
{
    /// <summary>
    /// 主窗体Model类
    /// </summary>
    public class MainControlModel: ObservableObject
    {
        private int _Id;
        /// <summary>
        /// 唯一标识
        /// </summary>
        public int Id
        {
            get { return _Id; }
            set 
            { 
                _Id = value;
                RaisePropertyChanged("Id");
            }
        }


        private string _TestContent;
        /// <summary>
        /// 测试内容
        /// </summary>
        public string TestContent
        {
            get { return _TestContent; }
            set 
            { 
                _TestContent = value;
                RaisePropertyChanged("TestContent");
            }
        }


    }
}
